package com.wteam.dragon.shop.pojo.vo;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author 陈晓辉
 * @Date 2021/3/24 15:19
 */
@Getter
@Setter
public class FlashPromotionProductVo implements Serializable {
    private Long id;

    @NotNull(message = "对应的秒杀活动id不能为空")
    private Long flashPromotionId;

    @NotNull(message = "对应的秒杀活动场次id不能为空")
    private Long flashPromotionSessionId;

    @NotNull(message = "对应的产品id不能为空")
    private Long productId;

    private BigDecimal flashPromotionPrice;

    private Integer flashPromotionCount;

    private Integer flashPromotionLimit;

    private Integer sort;
}
